package com.webware.one.server.domain;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

import com.webware.one.server.domain.UserCredentials;

@Entity(name = "UserCredentials")
@Table(name = "T_USER_CREDENTIALS")
public class UserCredentials extends AbstractEntity{

    @Column(nullable = false, unique = true, length = 255)
    private String login = "";

    @Column(nullable = false, length = 255)
    private String password = "";

    public String getLogin() {
	return login;
    }

    public void setLogin(String login) {
	this.login = login;
    }

    public String getPassword() {
	return password;
    }

    public void setPassword(String password) {
	this.password = password;
    }

}
